<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %> 
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<!-- 리스트는 지도에 표기해야하기때문에 필요없을듯. -->
</head>
<body>
<table>
<form:form commandName="jobListSearch" method="POST">
		<tr>
			<th>번호</th><th>회사명</th><th>제목</th><th>등록일</th>
		</tr>
<c:if test="${not empty list }">
	<c:forEach var="joblist" items="${list}">
		<tr>
			<td>${joblist.seq }</td><td>${joblist.company}</td><td><a href="<c:url value=" " />">${joblist.title }</a></td><td>${joblist.date }</td>
		</tr>
	</c:forEach>
</c:if>
		<tr>
			<td rowspan="4">검색:<form:input path="joblist.searchword"/><input type="submit" value="검색"/></td>
		</tr>
		<tr>
			<td rowspan="4">${pagenum }</td>
		</tr>
</form:form>
</table>
</body>
</html>